home *** CD-ROM | disk | FTP | other *** search
- *** vi.c~ Wed May 13 18:30:00 1992
- --- vi.c Wed Sep 2 00:48:56 1992
- ***************
- *** 669,674 ****
- --- 669,687 ----
- break;
- }
-
- + /* CHANGE: adjust tcurs again. It may be two lines
- + * beyond EOF here, since it could have been beyond EOF
- + * before the adjustment above already. I might be
- + * better to avoid the adjustment above if tcurs was
- + * already at EOF, but I am not sure, and adjutsing
- + * again seems more general. --hp
- + *
- + * ...but not adjmove because that also `corrects'
- + * the column. -nox
- + */
- + if (markline(tcurs) > nlines)
- + tcurs = MARK_EOF;
- +
- /* run the function */
- tcurs = (*vikeys[prevkey].func)(range, tcurs);
- if (mode == MODE_VI)
-